home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Co-Cz / Course Scheduler 2.1.cpt / Course Scheduler 2.1 / background_2716.xml next >
Extensible Markup Language  |  1992-05-07  |  17KB  |  481 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2716</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3197.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_6174.css" />
  11.     <part>
  12.         <id>7</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>433</left>
  23.             <top>302</top>
  24.             <right>468</right>
  25.             <bottom>342</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>8419</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Next</name>
  40.         <script>on mouseUpget the number of this cardput it into CurrentCardget the number of cardsput it into TotalCardsif CurrentCard‚â†TotalCards thenvisual effect iris openDoMenu"Next"elsevisual effect iris opengo card 3end ifend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>8</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>149</left>
  54.             <top>303</top>
  55.             <right>187</right>
  56.             <bottom>342</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>314</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Quit</name>
  71.         <script>on mouseUpAnswer "Are you sure you want to quit to the desktop?" ¬¨with "Cancel" or "Quit"if it is "Quit" thenset the icon of bkgnd button "Quit" to 315DoMenu"Quit Hypercard"end ifend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>9</id>
  75.         <type>button</type>
  76.         <visible> <true /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>108</left>
  85.             <top>303</top>
  86.             <right>146</right>
  87.             <bottom>342</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <false /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>10935</icon>
  97.         <textAlign>center</textAlign>
  98.         <font>Chicago</font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <name>Home</name>
  102.         <script>on mouseUpDoMenu"Home"end mouseUp</script>
  103.     </part>
  104.     <part>
  105.         <id>10</id>
  106.         <type>button</type>
  107.         <visible> <true /> </visible>
  108.         <reserved5> 0 </reserved5>
  109.         <reserved4> 0 </reserved4>
  110.         <reserved3> 0 </reserved3>
  111.         <reserved2> 0 </reserved2>
  112.         <reserved1> 0 </reserved1>
  113.         <enabled> <true /> </enabled>
  114.         <rect>
  115.             <left>25</left>
  116.             <top>302</top>
  117.             <right>60</right>
  118.             <bottom>342</bottom>
  119.         </rect>
  120.         <style>transparent</style>
  121.         <showName> <false /> </showName>
  122.         <highlight> <false /> </highlight>
  123.         <autoHighlight> <false /> </autoHighlight>
  124.         <sharedHighlight> <true /> </sharedHighlight>
  125.         <family>0</family>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>17779</icon>
  128.         <textAlign>center</textAlign>
  129.         <font>Chicago</font>
  130.         <textSize>12</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <name>Previous</name>
  133.         <script>on mouseUpget the number of this cardput it into CurrentCardget the number of cardsput it into TotalCardsif CurrentCard‚â†3 thenvisual effect iris closeDoMenu"Prev"elsevisual effect iris closego card TotalCardsend ifend mouseUp</script>
  134.     </part>
  135.     <part>
  136.         <id>12</id>
  137.         <type>field</type>
  138.         <visible> <false /> </visible>
  139.         <dontWrap> <false /> </dontWrap>
  140.         <dontSearch> <false /> </dontSearch>
  141.         <sharedText> <false /> </sharedText>
  142.         <fixedLineHeight> <true /> </fixedLineHeight>
  143.         <autoTab> <false /> </autoTab>
  144.         <lockText> <false /> </lockText>
  145.         <rect>
  146.             <left>415</left>
  147.             <top>66</top>
  148.             <right>488</right>
  149.             <bottom>306</bottom>
  150.         </rect>
  151.         <style>transparent</style>
  152.         <autoSelect> <false /> </autoSelect>
  153.         <showLines> <false /> </showLines>
  154.         <wideMargins> <false /> </wideMargins>
  155.         <multipleLines> <false /> </multipleLines>
  156.         <reservedFamily> 0 </reservedFamily>
  157.         <titleWidth>0</titleWidth>
  158.         <icon>0</icon>
  159.         <textAlign>center</textAlign>
  160.         <font>Helvetica</font>
  161.         <textSize>10</textSize>
  162.         <textStyle>bold</textStyle>
  163.         <textHeight>13</textHeight>
  164.         <name>Help</name>
  165.         <script></script>
  166.     </part>
  167.     <part>
  168.         <id>13</id>
  169.         <type>button</type>
  170.         <visible> <true /> </visible>
  171.         <reserved5> 0 </reserved5>
  172.         <reserved4> 0 </reserved4>
  173.         <reserved3> 0 </reserved3>
  174.         <reserved2> 0 </reserved2>
  175.         <reserved1> 0 </reserved1>
  176.         <enabled> <true /> </enabled>
  177.         <rect>
  178.             <left>426</left>
  179.             <top>28</top>
  180.             <right>477</right>
  181.             <bottom>79</bottom>
  182.         </rect>
  183.         <style>transparent</style>
  184.         <showName> <false /> </showName>
  185.         <highlight> <false /> </highlight>
  186.         <autoHighlight> <false /> </autoHighlight>
  187.         <sharedHighlight> <true /> </sharedHighlight>
  188.         <family>0</family>
  189.         <titleWidth>0</titleWidth>
  190.         <icon>18222</icon>
  191.         <textAlign>center</textAlign>
  192.         <font>Chicago</font>
  193.         <textSize>12</textSize>
  194.         <textStyle>plain</textStyle>
  195.         <name>About</name>
  196.         <script>on mouseUpshow card field "About"show card button "Hide About"end mouseUp</script>
  197.     </part>
  198.     <part>
  199.         <id>14</id>
  200.         <type>button</type>
  201.         <visible> <true /> </visible>
  202.         <reserved5> 0 </reserved5>
  203.         <reserved4> 0 </reserved4>
  204.         <reserved3> 0 </reserved3>
  205.         <reserved2> 0 </reserved2>
  206.         <reserved1> 0 </reserved1>
  207.         <enabled> <true /> </enabled>
  208.         <rect>
  209.             <left>426</left>
  210.             <top>80</top>
  211.             <right>476</right>
  212.             <bottom>125</bottom>
  213.         </rect>
  214.         <style>transparent</style>
  215.         <showName> <false /> </showName>
  216.         <highlight> <false /> </highlight>
  217.         <autoHighlight> <false /> </autoHighlight>
  218.         <sharedHighlight> <true /> </sharedHighlight>
  219.         <family>0</family>
  220.         <titleWidth>0</titleWidth>
  221.         <icon>510</icon>
  222.         <textAlign>center</textAlign>
  223.         <font>Chicago</font>
  224.         <textSize>12</textSize>
  225.         <textStyle>plain</textStyle>
  226.         <name>Find</name>
  227.         <script>on mouseUpset the icon of bkgnd button "Find" to 511Ask "Find what?"Find itif the result is not empty thenanswer "Sorry, it was not found." with "OK"end ifset the icon of bkgnd button "Find" to 510end mouseUp</script>
  228.     </part>
  229.     <part>
  230.         <id>16</id>
  231.         <type>button</type>
  232.         <visible> <true /> </visible>
  233.         <reserved5> 0 </reserved5>
  234.         <reserved4> 0 </reserved4>
  235.         <reserved3> 0 </reserved3>
  236.         <reserved2> 0 </reserved2>
  237.         <reserved1> 0 </reserved1>
  238.         <enabled> <true /> </enabled>
  239.         <rect>
  240.             <left>426</left>
  241.             <top>184</top>
  242.             <right>477</right>
  243.             <bottom>235</bottom>
  244.         </rect>
  245.         <style>transparent</style>
  246.         <showName> <false /> </showName>
  247.         <highlight> <false /> </highlight>
  248.         <autoHighlight> <false /> </autoHighlight>
  249.         <sharedHighlight> <true /> </sharedHighlight>
  250.         <family>0</family>
  251.         <titleWidth>0</titleWidth>
  252.         <icon>390</icon>
  253.         <textAlign>center</textAlign>
  254.         <font>Chicago</font>
  255.         <textSize>12</textSize>
  256.         <textStyle>plain</textStyle>
  257.         <name>New Card</name>
  258.         <script>on mouseUpanswer "Card?" with "Delete" or "New" or "Cancel"if it is "New" thenDoMenu"Copy Card"DoMenu"Paste Card"put "" into card field "Course"put "" into card field "Professor"put "" into card field "Office"put "" into card field "Phone"put "" into card field "Office Hours"put "" into card field "Begin"put "" into card field "End"put "" into card field "Grade Type"put "" into card field "Grades"put "" into card field "Percent"put "" into card field "GPA"else if it is "Delete" thenget the number of this cardput it into CardNumget the number of cards in this stackif it‚â†CardNum thenDoMenu"Cut Card"elseanswer "You may not delete all of the Course Information cards in this stack." with "OK"end ifend ifrepeat with x = 391 to 401wait 4 ticksset icon of bkgnd button "New Card" to xend repeatset icon of bkgnd button "New Card" to 390end mouseUp</script>
  259.     </part>
  260.     <part>
  261.         <id>17</id>
  262.         <type>button</type>
  263.         <visible> <true /> </visible>
  264.         <reserved5> 0 </reserved5>
  265.         <reserved4> 0 </reserved4>
  266.         <reserved3> 0 </reserved3>
  267.         <reserved2> 0 </reserved2>
  268.         <reserved1> 0 </reserved1>
  269.         <enabled> <true /> </enabled>
  270.         <rect>
  271.             <left>426</left>
  272.             <top>236</top>
  273.             <right>477</right>
  274.             <bottom>287</bottom>
  275.         </rect>
  276.         <style>transparent</style>
  277.         <showName> <false /> </showName>
  278.         <highlight> <false /> </highlight>
  279.         <autoHighlight> <false /> </autoHighlight>
  280.         <sharedHighlight> <true /> </sharedHighlight>
  281.         <family>0</family>
  282.         <titleWidth>0</titleWidth>
  283.         <icon>17264</icon>
  284.         <textAlign>center</textAlign>
  285.         <font>Chicago</font>
  286.         <textSize>12</textSize>
  287.         <textStyle>plain</textStyle>
  288.         <name>Question</name>
  289.         <script>on mouseUpset lockscreen to trueshow bkgnd field "Help"show bkgnd field "Lower Help"show button "Hide Help"set lockscreen to falseend mouseUp</script>
  290.     </part>
  291.     <part>
  292.         <id>25</id>
  293.         <type>field</type>
  294.         <visible> <false /> </visible>
  295.         <dontWrap> <false /> </dontWrap>
  296.         <dontSearch> <false /> </dontSearch>
  297.         <sharedText> <false /> </sharedText>
  298.         <fixedLineHeight> <true /> </fixedLineHeight>
  299.         <autoTab> <false /> </autoTab>
  300.         <lockText> <true /> </lockText>
  301.         <rect>
  302.             <left>65</left>
  303.             <top>269</top>
  304.             <right>422</right>
  305.             <bottom>341</bottom>
  306.         </rect>
  307.         <style>transparent</style>
  308.         <autoSelect> <false /> </autoSelect>
  309.         <showLines> <false /> </showLines>
  310.         <wideMargins> <false /> </wideMargins>
  311.         <multipleLines> <false /> </multipleLines>
  312.         <reservedFamily> 0 </reservedFamily>
  313.         <titleWidth>0</titleWidth>
  314.         <icon>0</icon>
  315.         <textAlign>left</textAlign>
  316.         <font>Helvetica</font>
  317.         <textSize>10</textSize>
  318.         <textStyle>bold</textStyle>
  319.         <textHeight>13</textHeight>
  320.         <name>Lower Help</name>
  321.         <script></script>
  322.     </part>
  323.     <part>
  324.         <id>26</id>
  325.         <type>button</type>
  326.         <visible> <true /> </visible>
  327.         <reserved5> 0 </reserved5>
  328.         <reserved4> 0 </reserved4>
  329.         <reserved3> 0 </reserved3>
  330.         <reserved2> 0 </reserved2>
  331.         <reserved1> 0 </reserved1>
  332.         <enabled> <true /> </enabled>
  333.         <rect>
  334.             <left>189</left>
  335.             <top>303</top>
  336.             <right>224</right>
  337.             <bottom>342</bottom>
  338.         </rect>
  339.         <style>transparent</style>
  340.         <showName> <false /> </showName>
  341.         <highlight> <false /> </highlight>
  342.         <autoHighlight> <false /> </autoHighlight>
  343.         <sharedHighlight> <true /> </sharedHighlight>
  344.         <family>0</family>
  345.         <titleWidth>0</titleWidth>
  346.         <icon>384</icon>
  347.         <textAlign>center</textAlign>
  348.         <font>Chicago</font>
  349.         <textSize>12</textSize>
  350.         <textStyle>plain</textStyle>
  351.         <name>Compact</name>
  352.         <script>on mouseUpDoMenu"Compact Stack"repeat with x = 381 to 384wait 15 ticksset icon of bkgnd button "Compact" to xend repeatend mouseUp</script>
  353.     </part>
  354.     <part>
  355.         <id>27</id>
  356.         <type>button</type>
  357.         <visible> <true /> </visible>
  358.         <reserved5> 0 </reserved5>
  359.         <reserved4> 0 </reserved4>
  360.         <reserved3> 0 </reserved3>
  361.         <reserved2> 0 </reserved2>
  362.         <reserved1> 0 </reserved1>
  363.         <enabled> <true /> </enabled>
  364.         <rect>
  365.             <left>364</left>
  366.             <top>265</top>
  367.             <right>395</right>
  368.             <bottom>301</bottom>
  369.         </rect>
  370.         <style>transparent</style>
  371.         <showName> <false /> </showName>
  372.         <highlight> <false /> </highlight>
  373.         <autoHighlight> <false /> </autoHighlight>
  374.         <sharedHighlight> <true /> </sharedHighlight>
  375.         <family>0</family>
  376.         <titleWidth>0</titleWidth>
  377.         <icon>417</icon>
  378.         <textAlign>center</textAlign>
  379.         <font>Chicago</font>
  380.         <textSize>12</textSize>
  381.         <textStyle>plain</textStyle>
  382.         <name>Calculate</name>
  383.         <script>on mouseUpput 0 into Averageput 1 into NumLineput false into Doneput 0 into TotalPercentrepeat until Doneget first word of line NumLine of card field "Grades"put it into Gradeget first word of line NumLine of card field "Percent"put it into Percentif (Percent>1) thenput (Percent * .01) into Percentelseif (Percent<=1) and (Percent‚â†empty) thenput (Percent * 100) into line NumLine of card field "Percent"end ifend ifif (Grade is not empty) and (Percent is not empty) thenif  Grade="A+" thenput 4.3 into Gradeelse if Grade="A" thenput 4 into Gradeelse if Grade="A-" thenput 3.7 into Gradeelse if Grade="B+" thenput 3.3 into Gradeelse if Grade="B" thenput 3 into Gradeelse if Grade="B-" thenput 2.7 into Gradeelse if Grade="C+" thenput 2.3 into Gradeelse if Grade="C" thenput 2 into Gradeelse if Grade="C-" thenput 1.7 into Gradeelse if Grade="D+" thenput 1.3 into Gradeelse if Grade="D" thenput 1.0 into Gradeelse if Grade="F" thenput 0 into Gradeend ifif Grade>=0 and Grade<100 thenput (Average + (Grade * Percent)) into Averageput (TotalPercent + Percent) into TotalPercentput (NumLine + 1) into Numlineelseanswer "Grade is not in acceptable range. See NOTES." with "OK"end ifelseif (Grade is not empty) and (Percent is empty) thenAnswer "Percentages are needed to Calculate GPA." with "Cancel"put "" into Averageend ifput true into Doneend ifend repeatif TotalPercent<>1 thenput "" into Averageput (TotalPercent * 100) into Needif TotalPercent<1 thenanswer "Only " & Need & "% of the grade is attributed." ¬¨with "Cancel"elseput (Need - 100) into Needanswer Need & "% extra of the grade is attributed." ¬¨with "Cancel"end ifend ifrepeat with x = 410 to 417wait 5 ticksset icon of bkgnd button "Calculate" to xend repeatput Average into first line of card field "GPA"end mouseUp</script>
  384.     </part>
  385.     <part>
  386.         <id>28</id>
  387.         <type>button</type>
  388.         <visible> <true /> </visible>
  389.         <reserved5> 0 </reserved5>
  390.         <reserved4> 0 </reserved4>
  391.         <reserved3> 0 </reserved3>
  392.         <reserved2> 0 </reserved2>
  393.         <reserved1> 0 </reserved1>
  394.         <enabled> <true /> </enabled>
  395.         <rect>
  396.             <left>426</left>
  397.             <top>132</top>
  398.             <right>477</right>
  399.             <bottom>183</bottom>
  400.         </rect>
  401.         <style>transparent</style>
  402.         <showName> <false /> </showName>
  403.         <highlight> <false /> </highlight>
  404.         <autoHighlight> <false /> </autoHighlight>
  405.         <sharedHighlight> <true /> </sharedHighlight>
  406.         <family>0</family>
  407.         <titleWidth>0</titleWidth>
  408.         <icon>500</icon>
  409.         <textAlign>center</textAlign>
  410.         <font>Chicago</font>
  411.         <textSize>12</textSize>
  412.         <textStyle>plain</textStyle>
  413.         <name>Sort</name>
  414.         <script>on mouseUpanswer "Sort all cards of this stack according to:" ¬¨with "Course" or "Professor" or "Cancel"if it is "Course" thensort by first word of first line of card field "Course"else if it is "Professor" thensort by last word of first line of card field "Professor"end ifif the number of this card ‚↠3 then go card 3if it‚â†"Cancel" thenrepeat with x = 501 to 503wait 5 ticksset icon of bkgnd button "Sort" to xend repeatrepeat with x = 502 down to 500wait 5 ticksset icon of bkgnd button "Sort" to xend repeatend ifend mouseUp</script>
  415.     </part>
  416.     <part>
  417.         <id>29</id>
  418.         <type>button</type>
  419.         <visible> <true /> </visible>
  420.         <reserved5> 0 </reserved5>
  421.         <reserved4> 0 </reserved4>
  422.         <reserved3> 0 </reserved3>
  423.         <reserved2> 0 </reserved2>
  424.         <reserved1> 0 </reserved1>
  425.         <enabled> <true /> </enabled>
  426.         <rect>
  427.             <left>67</left>
  428.             <top>303</top>
  429.             <right>105</right>
  430.             <bottom>342</bottom>
  431.         </rect>
  432.         <style>transparent</style>
  433.         <showName> <false /> </showName>
  434.         <highlight> <false /> </highlight>
  435.         <autoHighlight> <false /> </autoHighlight>
  436.         <sharedHighlight> <true /> </sharedHighlight>
  437.         <family>0</family>
  438.         <titleWidth>0</titleWidth>
  439.         <icon>340</icon>
  440.         <textAlign>center</textAlign>
  441.         <font>Chicago</font>
  442.         <textSize>12</textSize>
  443.         <textStyle>plain</textStyle>
  444.         <name>Print Card</name>
  445.         <script>on mouseUprepeat with x = 341 to 351wait 5 ticksset the icon of bkgnd button "Print Card" to xend repeatwait 10 ticksset the icon of bkgnd button "Print Card" to 340Answer "Select Printer or Print?" ¬¨with "Chooser" or "Print Card" or "Cancel"if it is "Chooser" thenDoMenu"Chooser"else if it is "Print Card" thenAnswer "Print card now?" with "Print Card" or "Cancel"if it is "Print Card" then DoMenu"Print Card"end ifend mouseUp</script>
  446.     </part>
  447.     <part>
  448.         <id>30</id>
  449.         <type>button</type>
  450.         <visible> <true /> </visible>
  451.         <reserved5> 0 </reserved5>
  452.         <reserved4> 0 </reserved4>
  453.         <reserved3> 0 </reserved3>
  454.         <reserved2> 0 </reserved2>
  455.         <reserved1> 0 </reserved1>
  456.         <enabled> <true /> </enabled>
  457.         <rect>
  458.             <left>25</left>
  459.             <top>261</top>
  460.             <right>60</right>
  461.             <bottom>304</bottom>
  462.         </rect>
  463.         <style>transparent</style>
  464.         <showName> <false /> </showName>
  465.         <highlight> <false /> </highlight>
  466.         <autoHighlight> <false /> </autoHighlight>
  467.         <sharedHighlight> <true /> </sharedHighlight>
  468.         <family>0</family>
  469.         <titleWidth>0</titleWidth>
  470.         <icon>21209</icon>
  471.         <textAlign>center</textAlign>
  472.         <font>Chicago</font>
  473.         <textSize>12</textSize>
  474.         <textStyle>plain</textStyle>
  475.         <name>Schedule</name>
  476.         <script>on mouseUpvisual effect dissolvego card "Morning"end mouseUp</script>
  477.     </part>
  478.     <name>Binder</name>
  479.     <script></script>
  480. </background>
  481.